---@class ProcLogin:GameStateBase @游戏登录环节
require 'GameState.GameStateBase'
require 'Net.SendAndWaitRequest'
ProcLogin = class("ProcLogin", GameStateBase)

function ProcLogin:onBegin()
    --启动一个登录界面,或者假装发一个登陆请求
    Channels.TcpChannel:Connect(config.GAME_TCP_HOST, config.GAME_TCP_PORT)
    VIEWM.showView(VIEW.LOGINPANEL)
end